Socket
Socket
Sign inDemoInstall

babel-plugin-polyfill-corejs3

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-polyfill-corejs3

A Babel plugin to inject imports to core-js@3 polyfills


Version published
Weekly downloads
15M
decreased by-38.21%
Maintainers
1
Weekly downloads
 
Created

What is babel-plugin-polyfill-corejs3?

The babel-plugin-polyfill-corejs3 package is a plugin for Babel that automatically includes the necessary core-js polyfills based on the code being transpiled and the target environments specified in the Babel configuration. It helps developers to use modern JavaScript features without worrying about the support in older environments, as it takes care of loading the necessary shims and polyfills.

What are babel-plugin-polyfill-corejs3's main functionalities?

Automatic Polyfilling

Automatically includes necessary polyfills for features used in the code that are not supported in the target environments.

require('core-js');

Modular Polyfills

Allows for modular inclusion of polyfills, adding only the polyfills needed for specific features used in the code.

require('core-js/modules/es.array.iterator');

Configurable Target Environments

Enables configuration of target environments to determine which polyfills are needed based on browser or node version support.

presets: [['@babel/preset-env', { targets: '> 0.25%, not dead' }]]

Other packages similar to babel-plugin-polyfill-corejs3

Keywords

FAQs

Package last updated on 22 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc